package com.lcj.springems.dao;

import com.lcj.springems.entity.Emp;
import com.lcj.springems.exception.DataAccessException;

import java.util.List;

public interface EmpDao {
    void insert(Emp emp) throws DataAccessException;
    void delete(Integer id) throws DataAccessException;
    void update(Emp emp) throws DataAccessException;
    Emp selectById(Integer id) throws DataAccessException;
    List<Emp> selectAll() throws DataAccessException;

}
